package cn.lzy.demo;

/**
 * @Description
 * @Author Administrator
 * @Date 2023/12/3 16:54
 * @Version
 **/
public class User {

    private String name;
    private Dog dog;


    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", dog=" + dog +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Dog getDog() {
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }
}
